package com.lebang.lechuangsystem.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * sys_user
 * @author 
 */
@Data
@ApiModel("")
public class User implements Serializable {
    private Integer id;

    /**
     * 登录账号
     */
    @ApiModelProperty("登录账号")
    private String username;

    /**
     * 登录密码
     */
    @ApiModelProperty("登录密码")
    private String password;

    /**
     * 真实姓名
     */
    @ApiModelProperty("真实姓名")
    private String trueName;

    /**
     * 邮箱
     */
    @ApiModelProperty("邮箱")
    private String email;

    /**
     * 状态：0=有效，1=无效
     */
    @ApiModelProperty(value = "状态：0=有效，1=无效",hidden = true)
    private Integer status;

    /**
     * 上将登录时间
     */
    @ApiModelProperty(value = "登录时间",hidden = true)
    private Date lastLoginTime;
    @ApiModelProperty(hidden = true)
    private Integer hasDeleted;
    @ApiModelProperty(hidden = true)
    private Date createdTime;
    @ApiModelProperty(hidden = true)
    private Date updatedTime;

    /**
     * 角色id
     */
    @ApiModelProperty("角色id")
    private Integer roleId;
    @ApiModelProperty(hidden = true)
    private Role role;

}